package com.dingreading.cloud.soms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MemberCashDto implements Serializable {

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date editTime;

    private String addStaffUid;

    private String addStaffName;

    private String lastStaffUid;

    private String lastStaffName;

    private String uid;
    private String corpUid;
    private String storeUid;
    private String storeName;
    private String memberUid;
    private String memberName;

    /**
     * 类型 1.收款 2.退款
     */
    private Integer type;

    private String typeName;

    /**
     * 收款/退款金额
     */
    private Double money;

    /**
     * 图片地址
     */
    private String url;

    /**
     * 最新会员名称
     */
    private String newMemberName;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date payDate;

}
